import { createFeatureSelector, createSelector } from '@ngrx/store';

import { getLayoutSiderIsCollapsed, LayoutSiderState } from '../reducers';

const getLayoutSiderStateSelector = createFeatureSelector<LayoutSiderState>('layoutSiderReducer');
export const getLayoutSiderIsCollapsedSelector = createSelector(getLayoutSiderStateSelector, getLayoutSiderIsCollapsed);